//
//  ConfigScrlViewCtrl.h
//  ClienHD
//
//  Created by Sangwoo Park on 11. 2. 15..
//  Copyright 2011 Student. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface ConfigScrlViewCtrl : UIViewController <UITableViewDataSource, UITableViewDelegate > {
	UIScrollView *scrlViewCtrl;

	UITextField *idText;
	UITextField *pwText;
	UISwitch *saveIdSW;
	UISwitch *autoIdSW;
	UITableView *smallList;
	
	UIButton *addButn;
	UIButton *editButn;
	NSMutableArray *bbs1;
	NSMutableArray *bbs2;
	NSMutableDictionary *loginData;

	id delegate;
	
	BOOL isChanged;
}

@property (nonatomic, retain) IBOutlet UIScrollView *scrlViewCtrl;
@property (nonatomic, retain) IBOutlet UITextField *idText;
@property (nonatomic, retain) IBOutlet UITextField *pwText;
@property (nonatomic, retain) IBOutlet UISwitch *saveIdSW;
@property (nonatomic, retain) IBOutlet UISwitch *autoIdSW;
@property (nonatomic, retain) IBOutlet UIButton *addButn;
@property (nonatomic, retain) IBOutlet UIButton *editButn;
@property (nonatomic, retain) IBOutlet UITableView *smallList;

@property (nonatomic, retain) NSMutableArray *bbs1;
@property (nonatomic, retain) NSMutableArray *bbs2;
@property (nonatomic, retain) NSMutableDictionary *loginData;

- (IBAction)AddButnPressed;
- (IBAction)EditButnPressed;
- (IBAction)valueChanged:(id)sender;
- (IBAction)hideSwitched:(id)sender;

- (id) initWithTitle:(NSString *)title delegate:(id)aDelegate
		   bbs1Array:(NSMutableArray *)aBbs1 bbs2Array:(NSMutableArray *)aBbs2 login:(NSMutableDictionary *)aLogin;

@end
